package com.sz.exce.service.impl;

import com.sz.exce.dao.TransferDao;
import com.sz.exce.entity.Info;
import com.sz.exce.service.InfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class InfoServiceImpl implements InfoService {

    @Autowired
    TransferDao transferDao;

    public List<Info> getInfos() {
        return transferDao.getInfo();
    }
}
